package com.yuchen.ishop.buyer;

import com.yuchen.ishop.entity.Order;
import com.yuchen.jaxrs.Responses;

import java.util.List;
import java.util.Map;


/**
 * 普通用户  买家
 */
public interface BuyerOrderService {


    public Order getById(Long id);

    public Responses insert(Order order);

    public Responses update(Order order);

    public Responses delete(Long id);

    public List<Map> getByBuyerId(Long buyerId);
}
